<?php

use app\models\Setting;
use yii\helpers\Html;
use yii\helpers\Url;

?>
<?php $this->beginPage(); ?>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <title>页面没找到 - <?= Setting::get('web_name'); ?></title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
    <meta content="no-siteapp" http-equiv="Cache-Control"/>
    <style type="text/css">
        #page404 {
            background: #f7f8fb;
            color:      #47494e;
            text-align: center;
            position:   absolute;
            z-index:    9999;
            top:        0;
            left:       0;
            right:      0;
            bottom:     0;
        }
        .content {
            width:    640px;
            margin:   -180px auto 0;
            position: relative;
            top:      45%;
        }
        .description {
            color:         #7f828b;
            line-height:   21px;
            margin-bottom: 10px;
        }
        a {
            text-decoration: none;
            color:           #333;
        }
        a:hover{
            color: #f36;
        }
    </style>
</head>
<body>
<div id="page404">
    <div class="content">
        <img src="<?= Yii::getAlias('@theme/images/404.png'); ?>" alt="">
        <p class="description">抱歉，您访问的页面不存在(´･ω･`)</p>
        <p><a href="<?= Url::to(['/']); ?>">[返回首页]</a></p>
    </div>
</div>
</body>
</html>
